import axios from 'axios';

const mockHttp=axios.create({
    baseURL: 'http://localhost:3000'
})

axios.defaults.timeout = 5000;

mockHttp.interceptors.response.use(res=>{
    return res.data
})

export default mockHttp;